#pragma once
#include<windows.h>
#include <QtWidgets/QMainWindow>
#include "ui_QtForOpenCV4Tool.h"
#include "common/CommonListView.h"
#include "common/CommonListView.h"
#include <QSize>
#include <QIcon>
#include "items/OpenGLSampleWindow.h"
#include "items/FFMpegWindow.h"
#include "items/SdlWindow.h"
#include "items/OpenCVWindow.h"
#include "items/MultimediaProjectCollectionWindow.h"
#include <QMetaType> 
/**
* 主窗口
*/
class QtForOpenCV4Tool : public QMainWindow
{
    Q_OBJECT

public:
    QtForOpenCV4Tool(QWidget *parent = nullptr);
    ~QtForOpenCV4Tool();
public:
    void createListView();//创建一个ListView

private:
    Ui::QtForOpenCV4ToolClass ui;
    CommonListView *listView;
    //OpenGL测试案例
    OpenGLSampleWindow openGLSampleWindow;
    //FFMPEG案例
    FFMpegWindow fFMpegWindow;
    //SDL案例
    SdlWindow sdlWindow;
    //OpenCV
    OpenCVWindow cvWindow;
    //多媒体项目集合
    MultimediaProjectCollectionWindow multimediaProjectCollectionWindow;

};
